﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sharp.Events
{
    /// <summary>
    /// 领域事件的数据载体
    /// </summary>
    public interface IEventData
    {
        /// <summary>
        /// 事件事件
        /// </summary>
        DateTime EventTime { get; set; }
        /// <summary>
        /// 事件来源
        /// </summary>
        object EventSource { get; set; }
    }
}
